package com.lpy.book.model;

import lombok.Data;

@Data
public class Book {
    private int bookId;
    private String bookName;
    private String author;
    private int status;           //状态 1上架  2下架
    private int bookTypeId;
    private String publish;
    private int number;       //库存
    private double price;
    private String remark;        // 描述

    public Book() {

    }
    public Book(int bookId, String bookName, String author, int status, int bookTypeId, String publish, int number, double price, String remark) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.author = author;
        this.status = status;
        this.bookTypeId = bookTypeId;
        this.publish = publish;
        this.number = number;
        this.price = price;
        this.remark = remark;
    }
}
